local AceLocale = AceLibrary("AceLocale-2.2"):new("QuestAnnouncer")

AceLocale:RegisterTranslations("zhCN", function()
	return {
		["SLASHCMD_LONG"] = "/questannouncer",
		["SLASHCMD_SHORT"] = "/qa",
		["ADDON_PREFIX"] = "QuestAnnouncer",

        -- ["FQ_EPA_PATTERN1"] = 	"^(.+): %s*[-%d]+%s*/%s*[-%d]+%s*$";
        -- ["FQ_EPA_PATTERN2"] = 	"^(.+)\(已完成\)%s$";
        -- ["FQ_EPA_PATTERN3"] = 	"^(.+)完成。$";
        -- ["FQ_EPA_PATTERN4"] = 	"^获得经验值.+$";
        -- ["FQ_EPA_PATTERN5"] = 	"^发现.+$";
        -- ["FQ_EPA_PATTERN6"] = 	"^(.+)\(完成\)%s$";
        ["FQ_EPA_PATTERN7"] = 	"^接受任务：.+$";

		["OPT_SHOWDEBUG_NAME"] = "Debug 模式",
		["OPT_SHOWDEBUG_DESC"] = "切换显示 Debug 信息",
		["OPT_SHOWDEBUG_ON"] = "打开 Debug 模式",
		["OPT_SHOWDEBUG_OFF"] = "关闭 Debug 模式",
		["OPT_ANNOUNCE_NAME"] = "通告类型",
		["OPT_ANNOUNCE_DESC"] = "任务通告发送形式：\naddon - 仅加载此插件的队友取得\nchar - 通过小队频道发送通告t\nboth - 以两种形式同时发送\nnone - 不发送通告",
		["OPT_ANNOUNCE_ADDON"] = "在插件频道发布任务通告",
		["OPT_ANNOUNCE_CHAT"] = "在队伍频道发布任务通告",
		["OPT_ANNOUNCE_BOTH"] = "在插件频道和队伍频道同时发布任务通告",
		["OPT_ANNOUNCE_NONE"] = "无通告发表",
		["OPT_DISPLAY_NAME"] = "显示类型",
		["OPT_DISPLAY_DESC"] = "设置加载此插件的队友显示任务通告形式:\nUI - 屏幕中央 (UI 错误框)\nchat - 聊天窗口\nboth - 屏幕中央与聊天窗口同时显示\nnone - 不显示",
		["OPT_DISPLAY_UI"] = "在屏幕中央显示通告",
		["OPT_DISPLAY_CHAT"] = "在聊天窗口显示通告",
		["OPT_DISPLAY_BOTH"] = "同时在屏幕中央和聊天窗口显示通告",
		["OPT_DISPLAY_NONE"] = "不显示任务通告",
		["OPT_PROGRESS_NAME"] = "更新频率",
		["OPT_PROGRESS_DESC"] = "什么时候应该向群聊发布进度通知？",
		["OPT_PROGRESS_ALL"] = "每次拾取任务物品或任务击杀。",
		["OPT_PROGRESS_LAST"] = "只有最后一次拾取任务物品或任务击杀。",

		["FUBAR_TOOLTIP_HINT"] = "用 Fubar 设置任务通告",

		-- ["ADVMSG"] = "$ItemName $NumItems / $NumNeeded (剩余 $NumLeft)",
		-- ["FINMSG"] = "$ItemName $NumItems / $NumNeeded (已完成)",
		["ADVMSG"] = "|cffffffff$ItemName|r $LootColor$NumItems / $NumNeeded|r",
		["FINMSG"] = "|cffffffff$ItemName|r $LootColor$NumItems / $NumNeeded|r |cffFFFF00(已完成)|r",
		--|cffFFFF00任务进度：|r
	}
end)
